package com.klz.iblog.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "comments表")
public class Comments implements Serializable {
    @ApiModelProperty("评论id")
    private Integer commentsId;

    @ApiModelProperty("评论内容")
    private String commentsContent;

    @ApiModelProperty("评论创建时间")
    private Date commentsCreatetime;

    @ApiModelProperty("评论修改时间")
    private Date commentsUpdatetime;

    @ApiModelProperty("评论删除时间")
    private Date commentsDeletetime;

    @ApiModelProperty("评论对应的博客id")
    private Integer blogId;

    @ApiModelProperty("评论对应的用户id")
    private Integer userId;

    @ApiModelProperty("评论对应的回复")
    private List<Reply> replyList;

    private static final long serialVersionUID = 1L;
}